package ast;

public class Assignment implements Expression {

	private String variable;
	private Expression expression;

	public Assignment(String variable, Expression expression) {
		this.variable = variable;
		this.expression = expression;
	}

	public String getVariable() {
		return variable;
	}

	public Expression getExpression() {
		return expression;
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.visitAssignment(this);
	}

}
